Name :The bits are integrated into WORD
Symbol :BIT_AS_WORD
Illustrate:
Consolidate Boolean data into cWORD
Image:
Parameter:
| Parameter | Statement | Type | Description |
|---|---|---|---|
| IN | B01,B02,B03,...,B15 | BOOL |
Enter a value |
| OUT | W | WORD |
Output value |
Example:
LD:
ST:
Interpretation:
| parameter | operand | value |
|---|---|---|
| IN | B00,B01,B02,...,B15 | Enter a value:BOOL |
| OUT | W | Output value:WORD |
Enter BOOL (TRUE, FALSE) data in IN and OUT output WORD data.